<div>
    <h2>Signin</h2>
    <%=display_flash-%>
    <% form_tag session_path do%>
        <p>User</p>
        <p><%= text_field_tag :name,params[:name], :length=>20 %></p>
        <p>Pwd</p>
        <p><%= password_field_tag :password, params[:password],:length=>20 %></p>
        <p><%=check_box_tag  :remember %>Save login?</p>
        <p><%= submit_tag "Submit" %></p>
    <% end %>
</div>